<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"  
                xmlns:h="http://java.sun.com/jsf/html"  
                xmlns:f="http://java.sun.com/jsf/core"  
                xmlns:p="http://primefaces.org/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="sideBarBox.xhtml">

    <ui:define name="title">

        <h:outputText value="Hello #{sessionController.userName}"/>
    </ui:define>
    <ui:define name="box">
        <h:panelGrid columns ="3">
            <h:panelGroup>
                <h:outputText value="follows"/><br/>
                <h:outputText value="#{sessionController.user.followsCount}"/>
            </h:panelGroup>
            <h:panelGroup>
                <h:outputText value="followers"/><br/>
                <h:outputText value="#{sessionController.user.followersCount}"/>
            </h:panelGroup>
            <h:panelGroup>
                <h:outputText value="tweets"/><br/>
                <h:outputText value="#{sessionController.user.tweetsCount}"/>
            </h:panelGroup>
        </h:panelGrid>
    </ui:define>
</ui:composition>

